<!DOCTYPE html>
<html lang="en" >
<!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
<meta charset="utf-8"/>
<title>活动工单看板</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<meta content="" name="description"/>
<meta content="" name="author"/>
<!-- BEGIN GLOBAL MANDATORY STYLES -->
<link href="http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700&subset=all" rel="stylesheet" type="text/css"/>

<link href="css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
<link href="css/simple-line-icons.min.css" rel="stylesheet" type="text/css"/>

<link href="plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css"/>
<link href="plugins/bootstrap-switch/css/bootstrap-switch.min.css" rel="stylesheet" type="text/css"/>
<!-- END GLOBAL MANDATORY STYLES -->
<link rel="stylesheet" type="text/css" href="plugins/select2/select2.css"/>
<link rel="stylesheet" type="text/css" href="plugins/datatables/plugins/bootstrap/dataTables.bootstrap.css"/>

<!-- BEGIN THEME STYLES -->
<link href="css/global/components.css" rel="stylesheet" type="text/css"/>
<link href="css/global/plugins.css" rel="stylesheet" type="text/css"/>
<link href="css/layout.css" rel="stylesheet" type="text/css"/>
<link id="style_color" href="css/themes/default.css" rel="stylesheet" type="text/css"/>
<link href="css/custom.css" rel="stylesheet" type="text/css"/>
<!-- END THEME STYLES -->
<!-- ticket自定义样式 -->
<link href="css/ticket_detail.css" rel="stylesheet" type="text/css"/>
<link rel="shortcut icon" href="favicon.ico"/>
</head>

<body class="page-header-fixed page-quick-sidebar-over-content page-header-fixed-mobile page-footer-fixed1">
<!-- BEGIN HEADER -->
{% include "project/header" %}
<!-- END HEADER -->
<div class="clearfix">
</div>
<!-- BEGIN CONTAINER -->
<div class="page-container">
	<div class="page-sidebar-wrapper">
		{% include "menu" %}
	</div>

	<div class="page-content-wrapper">
		
		<div class="page-content" style="min-height:497px">
			
			<div class="lenovo-item">
				<div class="row" style="margin-bottom:10px">
					<div class="col-md-12">
						<h3 class="lenovo-page-title">
						<a href="ticketSearch?id=&name=&status="><</a>工单详情
						<div class="detail_title"><span >POS机维修</span></div>
						</h3>
					</div>
				</div>
					<div class="row" style="width: 50%;margin:auto;margin-bottom:20px">
						<div class="col-md-12" style="text-align:center" align="center" >
							<div class="col-md-2">
							 <div class="col-md-2" style="width:80px;height: 80px;background-color:#008000;-webkit-border-radius: 40px ;">
								<div style="margin: 32px 0px 0px 2px;color: white;">接单</div>
						   </div>
						   </div>
							<div class="col-md-2">
							 <div class="col-md-2" style="width:80px;height: 80px;background-color:#008000;-webkit-border-radius: 40px ;">
								<div style="margin: 32px 0px 0px 2px;color: white;">预约</div>
						   </div>
						   </div>
						   		<div class="col-md-2">
							 <div class="col-md-2" style="width:80px;height: 80px;background-color:#FFA500;-webkit-border-radius: 40px ;">
								<div style="margin: 32px 0px 0px 2px;color: white;">到场</div>
						   </div>
						   </div>
						   		<div class="col-md-2">
							 <div class="col-md-2" style="width:80px;height: 80px;background-color:#D5D5D5;-webkit-border-radius: 40px ;">
								<div style="margin: 32px 0px 0px 2px;color: white;">完成</div>
						   </div>
						   </div>
						   		<div class="col-md-2">
							 <div class="col-md-2" style="width:80px;height: 80px;background-color:#D5D5D5;-webkit-border-radius: 40px ;">
								<div style="margin: 32px 0px 0px 2px;color: white;">评价</div>
						   </div>
						   </div>
						</div>
					</div> 
				
				<div class="ticket_detail_row">
					<div style="height:60px;background:#CCCCCC">
						<div style="float:left">
							<img src="image/ticket/warrantyInfo.png" style="width:60px;height:60px">
						</div>
						<div style="text-align: center;float:left">
							<h3 class="lenovo-page-title">
							保修信息
							</h3>
						</div>
					</div>
				</div>
				<div class="ticket_detail_row" style="min-height:100px;;background:#EEEEEE">
					<div class="ticket_content_row_head" style="font-size:18px;height:60px">
						<div style="float: left">工单编号</div>
						<div class="text_div">
						{{ ticket.id }}
						</div>
					</div>
					<div class="ticket_content_row" style="font-size:18px;height:60px">
						<div style="float: left">故障分类</div>
						<div class="text_div">
						{{ chrsystem }}>{{ chrcategory }}>{{ chrtype }}
						</div>
					</div>
					<div class="ticket_content_row">
						<div style="float: left">
							<div style="float: left">优先级</div>
							<div style="float: left;height:35px;width:50px;background:white;-moz-border-radius:30px;-webkit-border-radius:30px;border-radius: 30px;margin-left:30px;margin-top:-4px">{{ ticket.priority }}</div>
						</div>
						<div style="float: left">
							<div style="float: left">状态</div>
							<div style="float: left;height:35px;width:50px;background:white;-moz-border-radius:30px;-webkit-border-radius:30px;border-radius: 30px;margin-left:30px;margin-top:-4px">{{ ticket.status }}</div>
						</div>
						<div style="float: left">
							<div style="float: left">响应时效</div>
							<div style="float: left;height:35px;width:50px;background:white;-moz-border-radius:30px;-webkit-border-radius:30px;border-radius: 30px;margin-left:30px;margin-top:-4px">{{ respondlevel }}</div>
						</div>
						<div style="float: left">
							<div style="float: left">服务级别</div>
							<div style="float: left;height:35px;width:50px;background:white;-moz-border-radius:30px;-webkit-border-radius:30px;border-radius: 30px;margin-left:30px;margin-top:-4px"></div>
						</div>
						<div style="clear:both"></div>
					</div>
					<div class="ticket_content_row">
						故障描述
						<div style="width:93%;min-height:40px; background:white">{{ description }}</div>
					</div>
					<div class="ticket_content_row">
						备注
						<div style="width:93%;min-height:40px; background:white">{{ surveynote }}</div>
					</div>
					<div class="ticket_content_row">
						<div style="width:93%;min-height:40px; background:#808080">项目信息</div>
					</div>
					<div class="ticket_content_row" style="padding-bottom: 10px">
						相关角色
						<div>
							<div style="width:300px;min-height:150px; background:white;float: left">
								<p>请求人</p> 
								<p>姓名：{{ customername }}</p>
								<p>Tel:
									{% if customermobile is not null and customerphone is not null %}
	                   					{{- customermobile -}}/{{- customerphone -}}
	               		  			{% elseif customermobile is not null %}
	               		  				{{- customermobile -}}
	               		  			{% elseif customerphone is not null %}
	               		  				{{- customerphone -}}
	               		  			{% endif%}
               		  			</p>
               		  			<p>地址：{{ address }}</p>
							</div>
						    <div style="width:300px;min-height:150px; background:white;float: left; margin-left: 50px">
						    	<p>最终服务客服</p>
						    	<p>姓名：{{ actuallcustomer }}</p>
						    </div>
						    <div style="clear:both"></div>
						</div>
					</div>
				</div>
				
				<div class="ticket_detail_row">
					<div style="height:60px;background:#CCCCCC">
						<div style="float:left">
							<img src="image/ticket/repairInfo.png" style="width:60px;height:60px">
						</div>
						<div style="text-align: center;float:left">
							<h3 class="lenovo-page-title">
							维修信息
							</h3>
						</div>
					</div>
				</div>
				<div class="ticket_detail_row" style="min-height:100px;;background:#EEEEEE">
					<div class="ticket_content_row_head">
						<div style="width:93%;min-height:40px; background:#CCCCCC">设备信息</div>
					</div>
					<div class="ticket_content_row" >
						<div style="width:93%;min-height:40px; background:white">
						    <div style="float: left;min-height:60px">换上件</div>
							<div style="width:100%;min-height:60px; background:white">
								 {% for attachment in partsAttachmentList %}
           							{% if attachment.type == 4 %}
           								<li style="list-style-type:none"><img src={{attachment.url }} ></li>
            						{% endif %}
								 {% endfor %}  
							</div>
						</div>
					</div>
					<div class="ticket_content_row" >
						<div style="width:93%;min-height:40px; background:white">
						    <div style="float: left;min-height:60px">换下件</div>
							<div style="width:100%;min-height:60px; background:white">
								 {% for attachment in partsAttachmentList %}
           							{% if attachment.type == 5 %}
           								<li style="list-style-type:none"><img src={{attachment.url }} ></li>
            						{% endif %}
								 {% endfor %} 
							</div>
						</div>
					</div>
					<div class="ticket_content_row">
							<div style="width:93%;min-height:40px; background:#CCCCCC">附件信息</div>
					</div>
					<div class="ticket_content_row" >
						<div style="width:93%;min-height:40px; background:white">
						    <div style="float: left;min-height:60px">
						    	{% for attachment in partsAttachmentList %}
           							{% if attachment.type == 1 %}
           								<li style="list-style-type:none"><img src={{attachment.url }} ></li>
            						{% endif %}
								 {% endfor %} 
						    </div>
						</div>
					</div>
					<div class="ticket_content_row">
							<div style="width:93%;min-height:40px; background:#CCCCCC">解决方案</div>
					</div>
					<div class="ticket_content_row_tail" >
						<div style="width:93%;min-height:40px; background:white">
						    <div style="float: left;min-height:60px">{{ solution_summary }}</div>
						</div>
					</div>
				</div>
				
				<div class="ticket_detail_row">
					<div style="height:60px;background:#CCCCCC">
						<div style="float:left">
							<img src="image/ticket/warrantyInfo.png" style="width:60px;height:60px">
						</div>
						<div style="text-align: center;float:left">
							<h3 class="lenovo-page-title">
							信息流程
							</h3>
						</div>
					</div>
				</div>
				<div class="ticket_detail_row" style="min-height:100px;;background:#EEEEEE">
					<div class="ticket_content_row_head">
						<div style="float: left">接单</div>
						<div style="width:85%;min-height:40px; background:white;float: left;margin-left: 50px">接单进度</div>
						<div style="clear:both"></div>
					</div>
					<div class="ticket_content_row">
						<div style="float: left">预约</div>
						<div style="width:85%;min-height:40px; background:white;float: left;margin-left: 50px">预约进度</div>
						<div style="clear:both"></div>
					</div>
					<div class="ticket_content_row">
						<div style="float: left">到场</div>
						<div style="width:85%;min-height:40px; background:white;float: left;margin-left: 50px">到场进度</div>
						<div style="clear:both"></div>
					</div>
					<div class="ticket_content_row">
						<div style="float: left">完成</div>
						<div style="width:85%;min-height:40px; background:white;float: left;margin-left: 50px">完成进度</div>
						<div style="clear:both"></div>
					</div>
					<div class="ticket_content_row_tail">
						<div style="float: left">评价</div>
						<div style="width:85%;min-height:40px; background:white;float: left;margin-left: 50px">评价进度</div>
						<div style="clear:both"></div>
					</div>
				</div>
				
				<!-- <div class="row">
					<div class="col-md-12">
						<h3 class="lenovo-page-title">
							|保修信息
							<div class="btn-group" style="float: right; margin-right: 15px">
								<a href="ticketProject">
									<button id="projectInfo" class="btn green lenovo">
										项目信息 
									</button>
								</a>
							</div>
						</h3>
					</div>
				</div>
				<div class="ticket_detail_row">
					<table  id="group_table" class="table table-bordered project_edit_table" style="table-layout:fixed">
						<thead>
							<tr>
								<th style="text-align:center;">
									 工单编号
								</th >
								<th style="text-align:center;">
									 故障分类
								</th>
								<th style="text-align:center;">
									 优先级
								</th>
								<th style="text-align:center;">
									状态
								</th>
								<th style="text-align:center;">
									响应时效
								</th>
								<th style="text-align:center;">
									服务级别
								</th>
								<th style="text-align:center;">
									故障描述
								</th>
								<th style="text-align:center;">
									备注
								</th>
							</tr>
						</thead>
						<tbody id="group_tbody">
							<tr>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
							</tr>
						</tbody>
					</table>
			    </div>
			    
			    <div class="row">
			    	<div class="col-md-12">
						<h3 class="lenovo-page-title">
							|相关角色
						</h3>
					</div>
				</div>
				<div class="ticket_detail_row">
					<div class="col-md-12">				
							请求人
					</div>
				</div>
				<div class="ticket_detail_row">
					<table  id="group_table" class="table table-bordered project_edit_table" style="table-layout:fixed">
						<thead>
							<tr>
								<th style="text-align:center;">
									 姓名
								</th >
								<th style="text-align:center;">
									ITSM
								</th>
								<th style="text-align:center;">
									 电话
								</th>
								<th style="text-align:center;">
									地址
								</th>
							</tr>
						</thead>
						<tbody id="group_tbody">
						</tbody>
					</table>
				</div>
				<div class="ticket_detail_row">
					<div class="col-md-12">				
						最终服务客服
					</div>
				</div>
				<div class="ticket_detail_row">
					<table  id="group_table" class="table table-bordered project_edit_table" style="table-layout:fixed">
						<thead>
							<tr>
								<th style="text-align:center;">
									 姓名
								</th >
								<th style="text-align:center;">
									ITSM
								</th>
								<th style="text-align:center;">
									 电话
								</th>
							</tr>
						</thead>
						<tbody id="group_tbody">
						</tbody>
					</table>
				</div>
				<div class="row">
			    	<div class="col-md-12">
						<h3 class="lenovo-page-title">
							|维修信息
						</h3>
					</div>
				</div>
				<div class="row">
			    	<div class="col-md-12">
						<h3 class="lenovo-page-title">
							|流程信息
						</h3>
					</div>
				</div>		   -->
			</div>
		</div>
	</div>

	<!-- <a href="javascript:;" class="page-quick-sidebar-toggler"><i class="icon-close"></i></a>
    <div class="page-quick-sidebar-wrapper">
        <div class="page-quick-sidebar">            
           drgfdrgtdrp
        </div>
    </div> -->
</div>
<!-- END CONTAINER -->
<!-- BEGIN FOOTER -->
{% include "project/footer" %}
<!-- END FOOTER -->
<!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->
<!-- BEGIN CORE PLUGINS -->
<script src="plugins/jquery-1.11.0.min.js" type="text/javascript"></script>
<script src="plugins/jquery-migrate-1.2.1.min.js" type="text/javascript"></script>
<!-- IMPORTANT! Load jquery-ui-1.10.3.custom.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip -->
<script src="plugins/jquery-ui/jquery-ui-1.10.3.custom.min.js" type="text/javascript"></script>
<script src="plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<script src="plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js" type="text/javascript"></script>
<script src="plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
<script src="plugins/jquery.blockui.min.js" type="text/javascript"></script>
<script src="plugins/jquery.cokie.min.js" type="text/javascript"></script>
<script src="plugins/uniform/jquery.uniform.min.js" type="text/javascript"></script>
<script src="plugins/bootstrap-switch/js/bootstrap-switch.min.js" type="text/javascript"></script>
<!-- END CORE PLUGINS -->
<script type="text/javascript" src="plugins/select2/select2.min.js"></script>
<script type="text/javascript" src="plugins/datatables/media/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="plugins/datatables/plugins/bootstrap/dataTables.bootstrap.js"></script>
<!-- END PAGE PLUGINS -->
<script src="js/global/metronic.js" type="text/javascript"></script>
<script src="js/layout.js" type="text/javascript"></script>
<script src="js/quick-sidebar.js" type="text/javascript"></script>
<script src="js/pages/table-editable.js"></script>

<script>
      jQuery(document).ready(function() {    
	        Metronic.init(); // init metronic core components
			Layout.init(); // init current layout
			QuickSidebar.init(); // init quick sidebar
			TableEditable.init();
			  
			if($("div.col-md-6").hasClass("col-sm-12")){
		        $("div.col-md-6").removeClass("col-sm-12").addClass("col-sm-6")
		    }
      });
   </script>
<!-- END JAVASCRIPTS -->
</body>
<!-- END BODY -->
</html>